<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="style.min.css">
  <meta charset="UTF-8">
  <title>EMUL docs</title>
</head>
<body>
    <style>
        @import url(http://fonts.googleapis.com/css?family=Roboto:300,100,900);
* {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

html {
  font-family: 'Roboto', sans-serif;
  background: #e1e1e1;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 30%;
  max-width: 300px;
  background: #eee;
}
.sidebar:after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  bottom: 0;
  height: 100%;
  width: 10px;
  background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.2)), to(transparent));
  -webkit-mask-box-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, transparent), color-stop(0.5, rgba(0, 0, 0, 0.8)), color-stop(1, transparent));
  border-left: 1px solid rgba(0, 0, 0, 0.4);
}

.sidebar-header {
  position: relative;
  height: 50px;
  line-height: 50px;
  padding: 20px;
  font-size: 20px;
}
.sidebar-header:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 10px;
  width: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.2)), to(transparent));
  -webkit-mask-box-image: -webkit-gradient(linear, left top, right top, color-stop(0, transparent), color-stop(0.5, rgba(0, 0, 0, 0.8)), color-stop(1, transparent));
  border-top: 1px solid rgba(0, 0, 0, 0.4);
}

.sidebar-title {
  margin: 0;
  color: #666;
}

.sidebar-content {
  position: absolute;
  top: 80px;
  bottom: 0;
  overflow: auto;
  padding: 20px;
  color: #444;
}

::-webkit-scrollbar {
  height: 16px;
  overflow: visible;
  width: 16px;
}

::-webkit-input-placeholder element,
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  background-clip: padding-box;
  border: solid transparent;
  border-width: 1px 1px 1px 6px;
  min-height: 28px;
  padding: 100px 0 0;
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.07);
}

::-webkit-slider-thumb element,
::-webkit-scrollbar-button {
  height: 0;
  width: 0;
}

::-webkit-search-cancel-button element,
::-webkit-scrollbar-track {
  background-clip: padding-box;
  border: solid transparent;
  border-width: 0 0 0 4px;
}

::-webkit-search-results-decoration element,
::-webkit-scrollbar-corner {
  background: transparent;
}

.page {
  margin-left: 300px;
  padding: 5%;
}
.text{
    color : yellow;
}
    </style>
  <div class="sidebar">
  <div class="sidebar-header" style="text-align: center;"><b>EMUL docs</b></div>
    <div class="sidebar-content">
      <font size="4" color="red">此文档目前还处于公开测试中，移动端显示还有极大缺陷，请使用PC端阅读此文档！</font><br />
        <font size="4"><b><a href="home.html">Home</a></b></font><br />
        <font size="4"><b><a href="getting started.html">Getting Started</a></b></font><br />
        <font size="4"><b>UI组件</b></font><br />
        <a href="UI-header.html">header导航栏</a><br />
        <a href="UI-button.html">button按钮</a><br />
        <a href="UI-typography.html">typography文字</a><br />
        <a href="UI-switch.html">switch按钮</a><br />
        <a href="UI-alert card.html">Alert card警告卡</a><br />
        <font size="4"><b>其他</b></font><br />
        <a href="Get EMUL excellent development experience.html">获得EMUL优秀的开发体验</a>
        
   </div>
</div>
<div class="page">
    <div class="mume markdown-preview  ">
        <h1 class="mume-header" id="ui%E7%BB%84%E4%BB%B6-button%E6%8C%89%E9%92%AE">UI&#x7EC4;&#x4EF6;-button&#x6309;&#x94AE;</h1>
  
  <link rel="stylesheet" type="text/css" href="https://leaf2006.gitee.io/emul/input/emul.min.css">
  &#x5728;EMUL&#x4E2D;&#xFF0C;button&#x6309;&#x94AE;&#x7684;&#x6837;&#x5F0F;&#x4E5F;&#x7B97;&#x4E30;&#x5BCC;&#xFF1A;
  <ul>
  <li>
  <h4>&#x5C0F;&#x578B;&#x5B9E;&#x5FC3;&#x6309;&#x94AE;</h4>
  <button class="button-red-small">测试文字</button>
  <button class="button-yellow-small">测试文字</button>
  <!--这个br是无关紧要，为了格式好看-->
  <br />
  <button class="button-blue-small">测试文字</button>
  <button class="button-green-small">测试文字</button>
  </li>
  </ul>
  <p>&#x5B9E;&#x73B0;&#x4EE3;&#x7801;&#x5982;&#x4E0B;&#xFF1A;</p>
  <pre data-role="codeBlock" data-info="html" class="language-html"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-red-small<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-yellow-small<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  <span class="token comment">&lt;!--&#x8FD9;&#x4E2A;br&#x662F;&#x65E0;&#x5173;&#x7D27;&#x8981;&#xFF0C;&#x4E3A;&#x4E86;&#x683C;&#x5F0F;&#x597D;&#x770B;--&gt;</span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>br</span> <span class="token punctuation">/&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-blue-small<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-green-small<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  </pre><p>&#x5176;&#x4E2D;<kbd>button class=&quot;&quot;</kbd>&#x540E;&#x4E2D;&#x7684;<kbd>red&#xFF0C;yellow</kbd>&#x7B49;&#x5C31;&#x662F;&#x63A7;&#x5236;&#x989C;&#x8272;&#x7684;&#xFF0C;&#x76EE;&#x524D;EMUL&#x62E5;&#x6709;&#x7EA2;&#x3001;&#x9EC4;&#x3001;&#x84DD;&#x3001;&#x7EFF;&#x56DB;&#x79CD;&#x989C;&#x8272;&#x3002;</p>
  <p>&#x540E;&#x9762;&#x7684;<kbd>small</kbd>&#x662F;&#x63A7;&#x5236;&#x5927;&#x5C0F;&#x7684;&#xFF0C;&#x76F8;&#x6BD4;<kbd>small</kbd>&#xFF0C;&#x8FD8;&#x6709;<kbd>large</kbd>&#xFF0C;&#x4E3A;&#x5927;&#x6309;&#x94AE;&#x3002;</p>
  <ul>
  <li>
  <h4>&#x5927;&#x578B;&#x5B9E;&#x5FC3;&#x6309;&#x94AE;</h4>
  <button class="button-red-large">测试文字</button>
  <button class="button-yellow-large">测试文字</button><br />
  <button class="button-blue-large">测试文字</button>
  <button class="button-green-large">测试文字</button>
  </li>
  </ul>
  <p>&#x5927;&#x578B;&#x5B9E;&#x5FC3;&#x6309;&#x94AE;&#x7684;&#x5B9E;&#x73B0;&#x548C;&#x5C0F;&#x578B;&#x6309;&#x94AE;&#x7684;&#x5B9E;&#x73B0;&#x57FA;&#x672C;&#x4E00;&#x81F4;&#xFF0C;&#x53EA;&#x9700;&#x8981;&#x5C06;<kbd>small</kbd>&#x6539;&#x4E3A;<kbd>large</kbd>&#xFF0C;&#x5982;&#x4E0B;&#xFF1A;</p>
  <pre data-role="codeBlock" data-info="html" class="language-html"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-red-large<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-yellow-large<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>br</span> <span class="token punctuation">/&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-blue-large<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-green-large<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  </pre><ul>
  <li>
  <h4>&#x5C0F;&#x578B;&#x7A7A;&#x5FC3;&#x6309;&#x94AE;</h4>
  <button class="button-red-small-hollow">测试文字</button>
  <button class="button-yellow-small-hollow">测试文字</button><br />
  <button class="button-blue-small-hollow">测试文字</button>
  <button class="button-green-small-hollow">测试文字</button>
  </li>
  </ul>
  <p>&#x9664;&#x4E86;&#x5B9E;&#x5FC3;&#x6309;&#x94AE;&#xFF0C;&#x6211;&#x4EEC;&#x8FD8;&#x6709;&#x7A7A;&#x5FC3;&#x6309;&#x94AE;</p>
  <pre data-role="codeBlock" data-info="html" class="language-html"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-red-small-hollow<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-yellow-small-hollow<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>br</span> <span class="token punctuation">/&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-blue-small-hollow<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-green-small-hollow<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  </pre><p>&#x7A7A;&#x5FC3;&#x6309;&#x94AE;&#x7684;&#x5B9E;&#x73B0;&#x65B9;&#x5F0F;&#x5341;&#x5206;&#x7B80;&#x5355;&#xFF0C;&#x53EA;&#x8981;&#x5728;&#x540E;&#x9762;&#x52A0;&#x4E0A;<kbd>hollow</kbd>&#x5373;&#x53EF;</p>
  <ul>
  <li>
  <h4>&#x5927;&#x578B;&#x7A7A;&#x5FC3;&#x6309;&#x94AE;</h4>
  <button class="button-red-large-hollow">测试文字</button>
  <button class="button-yellow-large-hollow">测试文字</button><br />
  <button class="button-blue-large-hollow">测试文字</button>
  <button class="button-green-large-hollow">测试文字</button>
  </li>
  </ul>
  <pre data-role="codeBlock" data-info="html" class="language-html"><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-red-large-hollow<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-yellow-large-hollow<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>br</span> <span class="token punctuation">/&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-blue-large-hollow<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>button</span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation">=</span><span class="token punctuation">&quot;</span>button-green-large-hollow<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>&#x6D4B;&#x8BD5;&#x6587;&#x5B57;<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>button</span><span class="token punctuation">&gt;</span></span>
  </pre>
        </div>
  <div style="text-align:center;clear:both">
</div>
  <script src='jquery.js'></script>
</body>
</html>